﻿/*=================================================================
* 版权信息：Copyright (C) 2005-2011 捷点科技 All Rights Reserved.
* 文件名称：CNVP_Province.cs
* 创建标识：曾乃强 15158756652 2011-04-19 09:04:41
* 修改标识：
* 功能描述：业务层
===================================================================*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using CNVP.Framework.Helper;

namespace CNVP.JShop.BLL 
{
    /// <summary>
    /// 对*CNVP_Province*操作(针对业务层)的实现
    /// </summary>
    public class CNVP_Province
    {
        DAL.CNVP_Province dal = new DAL.CNVP_Province();
        
        #region BLL
        
        /// <summary>
        /// 查看单个
        /// </summary>
        public Model.CNVP_Province GetSingle_CNVP_ProvinceByCode(string Code)
        {
            return dal.LoadByCode(Code);
        }
        /// <summary>
        /// 查看全部
        /// </summary>
        public List<Model.CNVP_Province> GetAll_CNVP_Province()
        {
            return dal.LoadAll("");
        }
        
        /// <summary>
        /// 查看全部 可查询
        /// </summary>
        public List<Model.CNVP_Province> GetAll_CNVP_Province(string sqlWhere)
        {
            return dal.LoadAll(sqlWhere);
        }
        #endregion

    }
}

